package pers.cj.pdos.mapper;

import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.Store;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import pers.cj.pdos.vo.HouseVo;
import pers.cj.pdos.vo.StoreVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface StoreMapper extends BaseMapper<Store> {

    List<StoreVo> listVo(@Param("page") Integer page, @Param("limit") Integer limit,
                         @Param("companyId")String companyId, @Param("content") String content);
    long count(@Param("companyId")String companyId, @Param("content") String content);

    StoreVo getVoById(@Param("id")String id, @Param("houseStatus") Integer houseStatus);
}
